package com.bear.sgg.springboot_03_yaml;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/*如果需要使用.xml配置文件对spring boot应用进行配置，需要引入该配置文件*/
@ImportResource(locations = {"classpath:mSpring.xml"})
@SpringBootApplication
public class Springboot03YamlApplication {

    public static void main(String[] args) {
        SpringApplication.run(Springboot03YamlApplication.class, args);
    }

}
